﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/PageTemplates/Admin.master"
    AutoEventWireup="true" CodeFile="CreateMultipleFlows.aspx.cs" Inherits="Admin_LCAFlow_CreateMultipleFlows" %>

<%@ Register TagPrefix="uc" TagName="FlowRow" Src="/Admin/LCAFlow/Controls/FlowRow.ascx" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MPHead" runat="Server">
    <style type="text/css">
        .footer-container
        {
            display: none;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MPContent" runat="Server">
    <h1>
        Create multiple Flows</h1>
    <asp:PlaceHolder runat="server" ID="plhInit" Visible="false">
        <div class="formview">
            <uc:FlowRow ID="ctlFlowRow" runat="server" />
            <div class="multi-flows">
            
            </div>
            <a id="lnkAddMoreFlows" href="#" style="display: block;">+ Add more Flows</a>
            <div id="Div1" style="display: none;">
                <asp:TextBox ID="txtFlowsRaw" runat="server" ClientIDMode="Static"></asp:TextBox>
            </div>
        </div>
        <div class="row">
            <asp:Button ID="btnSave" runat="server" Text="Save" OnClick="btnSave_Click" ClientIDMode="Static" CausesValidation="false" />
            <asp:Button ID="btnCancel" runat="server" Text="Cancel" OnClick="btnCancel_Click"
                CausesValidation="false" />
        </div>

    </asp:PlaceHolder>
    <asp:PlaceHolder runat="server" ID="plhResult" Visible="false">
        <div class="alert alert-success">
            <asp:Literal runat="server" ID="litResult" />
            <div>
                <asp:LinkButton runat="server" ID="lnkEdit" Text="Continue to edit" OnClick="lnkEdit_Click"  />, Or 
                <asp:LinkButton runat="server" ID="lnkAddMore" Text="Add more flows" OnClick="lnkAddMore_Click" />
            </div>
        </div>
        
    </asp:PlaceHolder>
    <asp:PlaceHolder runat="server" ID="plhError" Visible="false">
        <div class="alert alert-danger">
            <asp:Literal runat="server" ID="litError" />
            <div>
                <asp:LinkButton runat="server" ID="lnkRefresh" Text="Refresh" OnClick="lnkRefresh_Click"  />
            </div>
        </div>

        
    </asp:PlaceHolder>
    <script type="text/javascript" src="/Admin/Scripts/LCA/create_multiple_flows.js"></script>

</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="MPFooter" runat="Server">
</asp:Content>
